package org.puppet.game.element;

import android.graphics.Bitmap;

public class PuppetInfo {

	private Bitmap bitmap;
	private AnimInfo[] anims;
	private int frameWidth;
	private int frameHeight;
	
	public AnimInfo[] getAnims() {
		return anims;
	}
	public void setAnims(AnimInfo[] anims) {
		this.anims = anims;
	}
	public Bitmap getBitmap() {
		return bitmap;
	}
	public void setBitmap(Bitmap bitmap) {
		this.bitmap = bitmap;
	}
	public int getFrameWidth() {
		return frameWidth;
	}
	public void setFrameWidth(int frameWidth) {
		this.frameWidth = frameWidth;
	}
	public int getFrameHeight() {
		return frameHeight;
	}
	public void setFrameHeight(int frameHeight) {
		this.frameHeight = frameHeight;
	}
	
	public static class AnimInfo{
		private int start;
		private long[] durations;
		private int coreX;
		private int coreY;
		
		public AnimInfo(int start, long[] durations, int coreX, int coreY) {
			this.start = start;
			this.durations = durations;
			this.coreX = coreX;
			this.coreY = coreY;
		}

		public int getStart() {
			return start;
		}

		public void setStart(int start) {
			this.start = start;
		}

		public long[] getDurations() {
			return durations;
		}

		public void setDurations(long[] durations) {
			this.durations = durations;
		}

		public int getCoreX() {
			return coreX;
		}
		public void setCoreX(int coreX) {
			this.coreX = coreX;
		}
		public int getCoreY() {
			return coreY;
		}
		public void setCoreY(int coreY) {
			this.coreY = coreY;
		}
		
	}
}
